<?php


namespace app\api\controller;


class Logout extends AuthBase
{
    public function index(){
        $res = cache(config('redis.token_pre').$this->accessToken,null);
        if($res){
            return $this->show(config("status.success"),"退出成功");
        }
    }
}